import { Http } from '@/common/api'
// 列表
export const listUrl = '/srm/contract/page'

// 获取合同 详情
export const apiGetContractDetail = async (id) => Http.get(`/srm/contract/findById/${id}`)
// 发送合同
export const apiSendContract = async (id) => Http.get(`/srm/contract/publish?id=${id}`)
// 回寄
export const apiReturnSend = async (params) => Http.post('/srm/contract/reply', params)
// 收件
export const apiConfirm = async (id) => Http.get(`/srm/contract/receipt?id=${id}`)
// 取消
export const apiCancel = async (id) => Http.get(`/srm/contract/cancel?id=${id}`)
